import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
// 引入粒子背景
import VueParticles from 'vue-particles'
// 引入全局样式
import './assets/scss/index.scss'
// 引入阿里图标库
import './assets/iconfont/iconfont.css'
import './assets/iconfont/iconfont.js'
// 引入tailwind
import './assets/css/tailwindcss.css'

const app=createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(store);
app.use(router);
app.use(ElementPlus);
app.use(VueParticles);
app.mount('#app');
